package com.ayoka.parenting.ui.coach.commentstudent;

import com.ayoka.parenting.bean.BaseResponse;
import com.ayoka.parenting.bean.MeditationHistoryBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: CommentStudentContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class CommentStudentContract {

    interface View extends BaseView {
        void configMeditationHistoryData(MeditationHistoryBean data);

        void onSubmitCommentCallback(boolean isSuccess);
    }

    interface Presenter extends BasePresenter<View> {
        void getMeditationHistoryData(String studentId);

        void submitComment(String recordId, String commentContent);
    }

    interface Model {
        void getMeditationHistoryData(BasePresenter presenter, String recordId, RequestCallback<MeditationHistoryBean> requestCallback);

        void submitComment(BasePresenter presenter, String recordId, String commentContent, RequestCallback<BaseResponse> requestCallback);
    }
}
